package com.cgy.utils.base.optional.stream;

/**
 * 判断为空
 * @author CHTK
 */
public class OptionalStreamBuilder {

    private Object source;
    private Class<?> classes;

    public OptionalStreamBuilder(Object obj) {
        this.source = obj;
    }

    /**
     * 类型转化
     * @param classes
     * @return
     */
    public OptionalStreamBuilder translateClass(Class<?> classes) {
        this.classes = classes;
        return this;
    }

    /**
     * 赋值
     * @param field 字段
     * @param value 值
     * @return
     */
    public OptionalStreamBuilder put(final String field, final Object value) {
        return this;
    }
}
